import { $get } from '@js/request'
import { EmployeeSchema } from '@src/components/schema/employeeSchema'

// 获取秘书列表
export async function getPersonList (): Promise<string[]> {
  const res = await $get('/api/common/employee', { page: 1, limit: 1000 })
  return res.data.list.map((li: EmployeeSchema) => li.realname)
}
